<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>076-定义数组.html</title>
	<script>
	/*
	var arr =(1,2,3,5,6,8,7,9);
	console.log(arr1);
	*/
	var arr2 = new Array(1,"6",4,true,[1,2,3,],9);
	console.log(arr2);
	// console.log(arr2[arr.length-1]);
	// console.log(arr2.length);
	arr2.length = 2;
	console.log(arr2);
	</script>
</head>
<body>
	
</body>

</html>